package blow.sky.quoted.entity;

import com.fasterxml.jackson.annotation.JsonAutoDetect;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.Email;
import java.util.List;

/**
 * @ClassName UserInfo
 * @Description TODO
 * @Author 江志武
 * @Date 2021/6/3 10:18
 */
@Entity
@Data
@NoArgsConstructor
@JsonAutoDetect(fieldVisibility=JsonAutoDetect.Visibility.ANY, getterVisibility=JsonAutoDetect.Visibility.NONE)
public class UserInfo {
    @Id
    @Email
    String email;

    //公司名称
    String name;

    //联系方式
    String tel;

    //地址
    String address;

    //主营业务
    String info;
}
